import request from '@/router/axios';
//获取字典中节点类型
export const getAutionList = (params) => {
    return request({
        url: `/blade-system/dict/getSubDictionary?type=${params.type}&id=${params.id}`,
        method: 'get',
    })
}
//添加规则管理中动作库节点类型的树状结构
export const getAutionAdd = (data) => {
    return request({
        url: `/base/structure-relate-rule/add`,
        method: 'post',
        data
    })
}
//获取规则管理中节点类型的树状结构
export const getAutionTree = (params) => {
    return request({
        url: `/base/structure-relate-rule/tree`,
        method: 'get',
        params
    })
}
//删除规则管理中节点类型的树状结构
export const removeAutionTree = (data) => {
    return request({
        url: `/base/structure-relate-rule/delete`,
        method: 'post',
        data
    })
}


